﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Framework.Zhaogang.Session.Core.ConfigSection
{
    /// <summary>
    /// Session设置
    /// </summary>
    public class SessionSettings
    {
        /// <summary>
        /// Session前缀
        /// </summary>
        public string SessionProfix { get; set; }

        /// <summary>
        /// 加密私钥
        /// </summary>
        public string DesKey { get; set; }

        /// <summary>
        /// 加密编码
        /// </summary>
        public string DesEncoding { get; set; }

        /// <summary>
        /// 同步Cookie的SessionId超时时间
        /// </summary>
        public bool IsSynchronousSessionIdTimeout { get; set; }
    }
}
